package com.mini.client;


import com.mini.vo.BusinessResult;
import com.mini.vo.PhoneInfoVO;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author shixiaopeng  on 2020/12/21
 */
@FeignClient(name = "tradition-assign-server")
public interface AssignClient {

    @GetMapping(value = "/location/mobile")
    BusinessResult<PhoneInfoVO> mobileLocation(@RequestHeader("sig") String sig,
                                               @RequestParam(value = "mobile") String mobile);
}
